package com.yc.web.task;

import java.util.Map;

import com.yc.dao.task.TaskDAO;
import com.yc.util.ListContentsBFO;

/**
 * 任务web层
 * @author Administrator
 *
 */
public class TaskWeb {
	private TaskDAO taskDAO;
	public TaskWeb(){
		taskDAO = new TaskDAO();
	}
	
	public ListContentsBFO allTasks(Map condition){
		return taskDAO.getTaskListByOwnerId(condition);
	}
	
	public boolean deleteTask(String strTaskId){
		return taskDAO.deleteTask(strTaskId);
	}
	
}
